package ms.mall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@EnableCaching
@EnableTransactionManagement//如果mybatis中service实现类中加入事务注解，需要此处添加该注解
public class MsMallApplication {

	public static void main(String[] args) {
		SpringApplication.run(MsMallApplication.class, args);
	}
}
